package com.sinosoft.cpyy.service.score.impl;

import com.sinosoft.cpyy.dao.master.ScoreMapper;
import com.sinosoft.cpyy.model.vo.scoreVo;
import com.sinosoft.cpyy.service.score.ScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 创建时间：2018/三月/27
 *
 * @author 张政[zhang_zheng@sinosoft.com.cn]
 * 类名：ScoreServiceImpl
 * 描述：成绩操作API
 */
@Service
public class ScoreServiceImpl implements ScoreService {

    private final ScoreMapper scoreMapper;

    @Autowired
    public ScoreServiceImpl(ScoreMapper scoreMapper) {
        this.scoreMapper = scoreMapper;
    }

    @Override
    public List<scoreVo> findUserExamInfo() {
        return scoreMapper.findUserExamInfo();
    }

}
